package com.mouse.hxsj;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ApplicationContext;

public class Test {

    public static void main(String[] args) {
        SpringApplicationBuilder builder = new SpringApplicationBuilder(Test.class);
        ApplicationContext applicationContext = builder.headless(false).run(args);
        GlobleHotKeyDemo swing = applicationContext.getBean(GlobleHotKeyDemo.class);
        swing.setVisible(true);
        swing.test();
    }
}
